package com.rzj.book.en;

/**
 * 订单明细实体类
 * @author Administrator *
 */
public class Orderdetail {
	
	private Long orderdetailId;
	
	private Integer count;
	
	private Double subtotal;
	
	// 商品外键:对象
	private Product product;
	
	// 订单外键:对象
	private Order order;

	public Long getOrderdetailId() {
		return orderdetailId;
	}

	public void setOrderdetailId(Long orderdetailId) {
		this.orderdetailId = orderdetailId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Double getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(Double subtotal) {
		this.subtotal = subtotal;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

}
